ostree-deployment.c: simplify equality check
authorJonathan Lebon <jlebon@redhat.com>
Wed, 16 Aug 2017 13:10:39 +0000 (09:10 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 16 Aug 2017 13:17:14 +0000 (13:17 +0000)
commitfa3a31af92ec5e15d58253bd20753f6ccb07b042
tree900bfa16c3f18c15c22dd0679840d09631961bf4
parent6063bdb0130cd0dc099bbf509f90863af7b3f0c0
ostree-deployment.c: simplify equality check

Just a random cozy patch I made while perusing the codebase. When
determining if two OstreeDeployment objects are the same, rather than
just checking for NULL, we can just directly check for equality of
pointers to also catch the trivial case.

Closes: #1082
Approved by: cgwalters
src/libostree/ostree-deployment.c